package com.yeyaomai.dksns.flowis.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yeyaomai.dksns.flowis.dao.ReferCategoryDao;
import com.yeyaomai.dksns.flowis.domain.ReferCategory;
import com.yeyaomai.dksns.flowis.service.ReferCategoryService;

@Service
public class ReferCategoryServiceImpl implements ReferCategoryService {

	@Resource
	private ReferCategoryDao referCategoryDao;
	@Override
	public void addReferCategory(ReferCategory referCategory) {
		referCategoryDao.addReferCategory(referCategory);

	}

	@Override
	public List<ReferCategory> getReferCategoryByDay(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return referCategoryDao.getReferCategoryByDay(map);
	}

}
